﻿using System;

namespace MFGps.Data
{
    // FROM GST message, GNSS Pseudo Range Error Statistics.
    public class RangeError
    {
        public RangeError(float rms, float lat, float lon, float alt)
        {
            RangeRMS = rms;
            Latitude = lat;
            Longitude = lon;
            Altitude = alt;
        }

        /// <summary>
        /// RMS Value of the standard deviation ranges.
        /// </summary>
        public float RangeRMS { get; set; }

        /// <summary>
        /// Standard deviation of latitude, error in meters.
        /// </summary>
        public float Latitude { get; set; }

        /// <summary>
        /// Standard deviation of longitude, error in meters.
        /// </summary>
        public float Longitude { get; set; }

        /// <summary>
        /// Standard deviation of altitude, error in meters.
        /// </summary>
        public float Altitude { get; set; }
    }
}
